#include <iostream>
#include "LLogger/Logger.h"




class ForMove
{
public:
	ForMove() :a_(0), s_("hello")
	{
		LOG_INFO("formove construct a = %d, s = %s", a_, s_.c_str());
	}
	ForMove(int a,std::string s):a_(a),s_(s)
	{
		LOG_INFO("formove construct a = %d, s = %s", a_, s_.c_str());
	}
	~ForMove()
	{
		LOG_INFO("formove distruct a = %d, s = %s", a_, s_.c_str());
	}
private:
	int a_;
	std::string s_;

};

ForMove test1()
{
	ForMove f1(11, "f1");
	return std::move(f1);
}

int main()
{
	ForMove f2 = test1();
	getchar();
	std::cout << "getchar end" << std::endl;
	getchar();
	getchar();
	return 0;
}